/* 
 * This code is part of the smartlink project, see
 * 
 * 		http://code.google.com/p/smartlink/.
 * 
 * Copyright (C) 2008 Oliver Noelle
 * 
 * SmartLink is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Lesser General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 * 
 * SmartLink is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Lesser General Public License for more details.
 * 
 * You should have received a copy of the GNU Lesser General Public License
 * along with SmartLink.  If not, see <http://www.gnu.org/licenses/>.
 **/
package org.smartlink;

public class Link {
	/** absolute cursor position within list of associations */
	public int cursorPos;
	/** id of entry in database */
	public String id;
	/** the key to which this entry is associated */
	public String key;
	/** the target uri */
	public String target;
	/** a description for the target */
	public String description;

	public Link(int cursorPos, String id, String key, String target, String description) {
		this.cursorPos = cursorPos;
		this.id = id;
		this.key = key;
		this.target = target;
		this.description = description;
	}

}
